@font-face
{
	font-family: "Bitstream Vera Serif Bold"
;
	src: url("http://developer.mozilla.org/@api/deki/files/2934/=VeraSeBd.ttf")
;
}

@-webkit-keyframes newWidth {
       from {
         width : 0px;
       }
       to {
         width: 120px;
       }
      }

@-webkit-keyframes slider {
       from {
         left : 0px;
         width: 0px;
       }
       to {
         left: 220px;
         width: 120px;
       }
      }

@-webkit-keyframes rotate360 {
       from {
           -webkit-transform: rotate(0deg);
       }
       to {
         -webkit-transform: rotate(360deg);
       }
      }

@-webkit-keyframes both {
       from {
           -webkit-transform: rotate(0deg);
            width : 0px;
       }
       to {
         -webkit-transform: rotate(360deg);
          width : 120px;
       }
      }

@-webkit-keyframes fade {
  0%   { opacity: 0; }
  50%  { opacity: 0.8; }
  100% { opacity: 0; }
}

#fading {
	-webkit-animation-name: fade;
	-webkit-animation-duration: 5s;
	-webkit-animation-iteration-count: infinite;
}

#newWidth {
	-webkit-animation-name: newWidth;
	-webkit-animation-duration: 6s;
	-webkit-animation-iteration-count: 10;
	-webkit-animation-direction: alternate;
}

#rotate360 {
	-webkit-animation-name: rotate360;
	-webkit-animation-duration: 3s;
	-webkit-animation-iteration-count: 12;
}

#both {
	-webkit-animation-name: both;
	-webkit-animation-duration: 5s;
	-webkit-animation-iteration-count: 10;
}

div {
	font-size: 1.1em;
}

.header {
	-webkit-border-radius: 5px;
	border: 1px solid #000;
	padding: 20px;
	-webkit-box-shadow: #888 10px 10px 5px;
	color: #0381DC;
	text-align: center;
	text-shadow: #999 1px 1px 1px;
	font-size: 4em;
}

.dynamicContent {
	-webkit-border-radius: 5px;
	border: 1px solid #000;
	-webkit-box-shadow: #888 10px 10px 5px;
	padding: 20px;
	color: #0381DC;
	margin-top: 20px;
}

.prevButton {
	float: left;
	padding: 10px;
	margin-left: 40%;
	color: #0381DC;
	-webkit-border-radius: 40px;
	border: 1px solid #000;
	-webkit-box-shadow: #888 10px 10px 5px;
	cursor: pointer;
	text-shadow: #999 1px 1px 1px;
}

.nextButton:hover, .prevButton:hover {
	-webkit-animation-name: rotate360;
	-webkit-animation-duration: 1s;
	-webkit-animation-iteration-count: 1;
}

.nextButton {

	float: right;
	padding: 10px;
	margin-right: 40%;
	color: #0381DC;
	-webkit-border-radius: 40px;
	border: 1px solid #000;
	-webkit-box-shadow: #888 10px 10px 5px;
	cursor: pointer;
	text-shadow: #999 1px 1px 1px;
}

.frontPageBorder:hover{
	-webkit-border-radius: 20px;
	-webkit-box-shadow: #888 10px 10px 5px;
	border: 1px solid #000;
	text-align:center;
	cursor:pointer;
}

.frontPageTextEffect:hover{
  text-shadow: 0.2em 0.5em 0.1em #600, -0.3em 0.1em 0.1em #060,0.4em -0.3em 0.1em #006;
	font-size:2em;
	text-align:center;
	cursor:pointer;
}

.frontPageAnimation:hover{
	-webkit-animation-name: rotate360;
	-webkit-animation-duration: 4s;
	-webkit-animation-iteration-count: 1;

}

.bitsteam, .frontPageFont:hover {
	font-family: "Bitstream Vera Serif Bold";
	cursor:pointer;
}

.cube {
        position: relative;
        top: -260px;
}

.rightFace,
.leftFace,
.topFace div {
        padding: 10px;
        width: 180px;
        height: 180px;
}

.cube:hover{
	color:azure;
	-webkit-animation-name: slider;
	-webkit-animation-duration: 5s;
	-webkit-animation-iteration-count: 1;
}

.rightFace,
.leftFace,
.topFace {
        position: absolute;
}

.leftFace {
        -webkit-transform: skewY(30deg);
        -moz-transform: skewY(30deg);
        background-color: greenyellow;
}

.rightFace {
        -webkit-transform: skewY(-30deg);
        -moz-transform: skewY(-30deg);
        background-color: lightblue;
        left: 200px;
}

.topFace div {
        -webkit-transform: skewY(-30deg) scaleY(1.16);
        -moz-transform: skewY(-30deg) scaleY(1.16);
        background-color: lightsalmon;
        font-size: 0.862em;
}

.topFace {
        -webkit-transform: rotate(60deg);
        -moz-transform: rotate(60deg);
        top: -158px;
        left: 100px;
}

ul,li {
    margin: 0;
    padding: 0;
}
ul {
    text-align: center;
}
li {
    display: inline;
}

a:hover, a:focus {
    z-index: 200;
	top:100px
}
a img {
    border: none;
    -webkit-transition: all .2s;
    -webkit-transform-origin: top;
}
a:hover img, a:focus img {
    -webkit-transform: scale(2);
}
